import { session } from "@/utils/utils";
export default [
    {
        path: "liuyanban/add",
        name: "IndexliuyanbanAdd",
        component: () => import("@/views/liuyanban/add-web.vue"),
        meta: { title: "留言板添加", authLogin: true, msg: true },
    },
    {
        path: "shoucang/add",
        name: "IndexshoucangAdd",
        component: () => import("@/views/shoucang/add-web.vue"),
        meta: { title: "收藏添加", authLogin: true, msg: true },
    },
    {
        path: "dianyingxinxi",
        name: "IndexdianyingxinxiList",
        component: () => import("@/views/dianyingxinxi/index.vue"),
        meta: { title: "电影信息列表" },
    },
    {
        path: "dianyingxinxi/detail",
        name: "IndexdianyingxinxiDetail",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/dianyingxinxi/detail-web.vue"),
        meta: { title: "电影信息详情" },
    },
    {
        path: "yingyuanxinxi",
        name: "IndexyingyuanxinxiList",
        component: () => import("@/views/yingyuanxinxi/index.vue"),
        meta: { title: "影院信息列表" },
    },
    {
        path: "yingyuanxinxi/detail",
        name: "IndexyingyuanxinxiDetail",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/yingyuanxinxi/detail-web.vue"),
        meta: { title: "影院信息详情" },
    },
    {
        path: "paipian",
        name: "IndexpaipianList",
        component: () => import("@/views/paipian/index.vue"),
        meta: { title: "排片列表" },
    },
    {
        path: "paipian/detail",
        name: "IndexpaipianDetail",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/paipian/detail-web.vue"),
        meta: { title: "排片详情" },
    },
    {
        path: "goupiao/add",
        name: "IndexgoupiaoAdd",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/goupiao/add-web.vue"),
        meta: { title: "购票添加", authLogin: true, msg: true },
    },
    {
        path: "yonghu/add",
        name: "IndexyonghuAdd",
        component: () => import("@/views/yonghu/add-web.vue"),
        meta: { title: "用户添加" },
    },
    {
        path: "dianyingpingjia/add",
        name: "IndexdianyingpingjiaAdd",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/dianyingpingjia/add-web.vue"),
        meta: { title: "电影评价添加", authLogin: true, msg: true },
    },
];
